package com.chebaohui.iqs.service.impl.deal.bihu;

import java.util.Date;

import com.chebaohui.iqs.entity.base.Company;
import com.chebaohui.iqs.entity.req.CarPrice;
import com.chebaohui.iqs.service.impl.deal.PriceThread;
import com.chebaohui.iqs.service.impl.deal.bihu.profess.BiHuCarPrice;
import com.chebaohui.iqs.service.impl.deal.bihu.profess.BiHuNewPrice;

/**
 * 壁虎车险报价线程
 * 
 * @author xielonghai
 *
 */
public class BiHuPriceThread extends PriceThread {

	public BiHuPriceThread(CarPrice param, Company company) {
		super(param, company);
	}

	/**
	 * 线程启动
	 */
	@Override
	public void run() {
		begin = new Date().getTime();
		//result = new BiHuCarPrice(param, company).price();
		result=new BiHuNewPrice(param, company).price();
		dealTime = new Date().getTime() - begin;
	}

}
